package com.link2room.soundwave.facade.factory;

import com.link2room.common.util.SpringUtil;
import com.link2room.soundwave.facade.impl.*;

/**
 * Created by sss on 2017/5/19.
 */
public class GcPmsFactory extends AbstractPmsFactory{
    @Override
    public AbstractPmsRoomAvailHandlerFacadeServiceImpl createPmsRoomAvailHandler() {
        return (AbstractPmsRoomAvailHandlerFacadeServiceImpl) SpringUtil.getBean("gcPmsRoomAvailHandlerFacadeService");
    }

    @Override
    public AbstractPmsRmtypeHandlerFacadeServiceImpl createPmsRmtypeHandler() {
        return (AbstractPmsRmtypeHandlerFacadeServiceImpl) SpringUtil.getBean("gcPmsRmtypeHandlerFacadeService");
    }

    @Override
    public AbstractPmsRateHandlerFacadeServiceImpl createPmsRateHandler() {
        return (AbstractPmsRateHandlerFacadeServiceImpl) SpringUtil.getBean("gcPmsRateHandlerFacadeService");
    }

    @Override
    public AbstractReservationHandlerFacadeServiceImpl createPmsReservationHandler() {
        return (AbstractReservationHandlerFacadeServiceImpl)SpringUtil.getBean("gcPmsReservationHandlerFacadeService");
    }

    @Override
    public AbstractPmsMemberHandlerFacadeServiceImpl createPmsMemberHandler() {
        return (AbstractPmsMemberHandlerFacadeServiceImpl)SpringUtil.getBean("gcPmsMemberHandlerFacadeService");
    }

    @Override
    public AbstractPmsHotelHandlerFacadeServiceImpl createPmsHotelHandler() {
        return (AbstractPmsHotelHandlerFacadeServiceImpl)SpringUtil.getBean("gcPmsHotelHandlerFacadeService");
    }
}
